package com.sprucetec.live.service;

import com.sprucetec.live.entity.LiveVideoHlsDetail;
import java.util.List;

/**
 * @author chenkai
 * @date 2020/4/1 10:58 上午
 * @description:
 */
public interface LiveVideoHlsDetailService {

    /**
     * 批量插入Hls
     * @param list
     * @return
     */
    void batchInsert(List<LiveVideoHlsDetail> list);

    /**
     * 删除Hls
     * @param liveVideoId
     */
    void deleteHlsDetail(Long liveVideoId);

    /**
     * 根据视频id, 获取Hls
     * @param liveVideoId
     * @return
     */
    List<LiveVideoHlsDetail> getHlsDetailList(Long liveVideoId);
}
